package linegroup3.util.workflow.api;

public interface Task {
	// for task name
	public void setName(String pTaskName);
	public String getName();
	
	// for task description
	public void setDescription(String pTaskDescription);
	public String getDescription();
	
	//for task summary
	public long getJobNum();
	public long getFailedJobNum();
	public long getRetriedJobNum();
	public String getSummary();
	
	//put job to workflow
	public void put(Job pJob);
	
	//task end to put job to workflow
	public void end();
	
	//wait task to be finished, BLOCKED
	public void waitToBeFinished();
}
